package com.tjbklx1.redisTest.format;

public class Format {
	
	private final static String SERIALIZER_TRANSFER_ERROR = "消息发送失败，转换异常！String:%s, encode: UTF-8 %s ";
	private final static String MESSAGE_SEND_ERROR = "消息发送失败, MQMsg: %s";
	private final static String MESSAGE_SEND_INFO = "[MQ补偿已发送][waitingMaking] mqDTO:{%s}";
	private static final String CONFIG_PUSH_MESSAGE ="{\"type\":201,\"entity\":{\"orderId\":\"%s\"}}";
	
	public static void main(String[] args) {
		
		System.out.println(String.format(SERIALIZER_TRANSFER_ERROR,"sssssssssssss","abc"));
		System.out.println(String.format(MESSAGE_SEND_ERROR,"sssssssssssss"));
		System.out.println(String.format(MESSAGE_SEND_INFO,"sssssssssssss"));
		System.out.println(String.format(CONFIG_PUSH_MESSAGE,"sssssssssssss"));
	}
	
}
